package com.kabuda.blog.service;

import com.kabuda.blog.dao.pojo.SysUser;
import com.kabuda.blog.vo.Result;
import com.kabuda.blog.vo.UserVo;

/**
 * @author kabuda
 * @create 2023-01-16 15:32
 */
public interface SysUserService {

    SysUser getUserById(Long authorId);

    SysUser findUser(String account, String password);

    Result currentUser(String authorization);

    boolean findUserByAccount(String account);


    void saveUser(SysUser sysUser);

    UserVo findUserVoById(Long authorId);
}
